package main.java.person.fjsp.common.entity;

import java.util.ArrayList;

/**
 * 用于存储调度完成的结果
 */
public class ScheduleResult {
    private ArrayList<Machine> machines;
    private ArrayList<Job> jobs;
    private int makespan;

    public ScheduleResult(ArrayList<Machine> machines, ArrayList<Job> jobs,int makespan) {
        this.machines = machines;
        this.jobs = jobs;
        this.makespan=makespan;
    }

    public ArrayList<Machine> getMachines() {
        return machines;
    }

    public void setMachines(ArrayList<Machine> machines) {
        this.machines = machines;
    }

    public ArrayList<Job> getJobs() {
        return jobs;
    }

    public void setJobs(ArrayList<Job> jobs) {
        this.jobs = jobs;
    }

    public int getMakespan() {
        return makespan;
    }

    public void setMakespan(int makespan) {
        this.makespan = makespan;
    }
}
